/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entity;

import java.sql.Date;
import java.util.List;

/**
 *
 * @author admin
 */
public class User {
    //Fields
    private int userID;
    private String email;
    private String password;    
    private String fullName;
    private String address;
    private String city;
    private String phone;    
    private String image;
    private Date birthday;
    private int role;
    private int status;
    private int point;
    List<Post> postList = null;
    List<Comment> commentList = null;
    List<FriendList> friendList = null;
    
    //Constructors
    public User() {
    }
    public User(int userID, String email, String password, String fullName, String address, String city, String phone, String image, Date birthday, int role, int status, int point) {
        this.userID = userID;
        this.email = email;
        this.password = password;
        this.fullName = fullName;
        this.address = address;
        this.city = city;
        this.phone = phone;
        this.image = image;
        this.birthday = birthday;
        this.role = role;
        this.status = status;
        this.point = point;
    }
    
    //Properties
    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }

    public List<Post> getPostList() {
        return postList;
    }

    public void setPostList(List<Post> postList) {
        this.postList = postList;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    public List<FriendList> getFriendList() {
        return friendList;
    }

    public void setFriendList(List<FriendList> friendList) {
        this.friendList = friendList;
    }
    
        
}
